﻿using Idenmpotency;

namespace Microsoft.AspNetCore.Idenmpotency
{
    /// <summary>
    /// 接口：用于创建幂等性请求
    /// </summary>
    public interface IAspIdenmpotencyRequestFactory
    {
        /// <summary>
        /// 创建
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        IAspIdenmpotencyRequest Create(HttpContext context, RequestDelegate next);
    }

}
